package com.yitao.client.constant;

/**
 * 用户收货地址相关枚举
 *
 * @Date: 2019/7/9 11:36
 * @Author: Kien
 */
public class UserAddressEnum {

    /**
     * 收货地址是否失效
     */
    public enum ADDRESS_INVALID{
        NO(0, "未失效"),
        YES(1, "已失效");

        private Integer code;
        private String msg;

        ADDRESS_INVALID(Integer code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public Integer getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

}
